Imports Microsoft.VisualBasic

Public Class Planificacion_M3

    Private _id As Integer
    Private _estacion As String
    Private _tiempo As Integer
    Private _observacion As String
    Private _fk_plani_m2 As Integer
    Private _cantidadTotal As Integer
 


    Public Sub New(ByVal estacion As String, ByVal tiempo As Integer, ByVal observacion As String, ByVal fk_plani_m2 As Integer, Optional ByVal id As Integer = -1, Optional ByVal cantidadTotal As Integer = 0)
        Me._estacion = estacion
        Me._tiempo = tiempo
        Me._observacion = observacion
        Me._fk_plani_m2 = fk_plani_m2
        Me._id = id
        Me._cantidadTotal = cantidadTotal
    End Sub

    Public Property id() As Integer
        Get
            Return _Id
        End Get

        Set(ByVal value As Integer)
            _Id = value
        End Set
    End Property

    Public Property Estacion() As String
        Get
            Return _estacion
        End Get

        Set(ByVal value As String)
            _estacion = value
        End Set
    End Property

    Public Property Tiempo() As Integer
        Get
            Return _tiempo
        End Get

        Set(ByVal value As Integer)
            _tiempo = value
        End Set
    End Property

    Public Property Observacion() As String
        Get
            Return _observacion
        End Get

        Set(ByVal value As String)
            _observacion = value
        End Set
    End Property

    Public Property Fk_plani_m2() As Integer
        Get
            Return _fk_plani_m2
        End Get

        Set(ByVal value As Integer)
            _fk_plani_m2 = value
        End Set
    End Property

    Public Property CantidadTotal() As Integer
        Get
            Return _cantidadTotal
        End Get

        Set(ByVal value As Integer)
            _cantidadTotal = value
        End Set
    End Property

End Class
